/*
 * Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
 *
 * https://www.mall4j.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */
package com.yami.shop.bean.app.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author lanhai
 */
@Schema(description = "书籍/公告信息")
@Data
public class BookDto {

    @Schema(description = "ID" )
    private Long id;

    @Schema(description = "FID" )
    private Long fid;

    @Schema(description = "店铺ID" )
    private Long shopId;

    @Schema(description = "标题/书名" )
    private String title;

    @Schema(description = "分类名称" )
    private String categoryTitle;

    @Schema(description = "内容/书籍简介" )
    private String content;

    @Schema(description = "作者" )
    private String author;

    @Schema(description = "封面图片URL" )
    private String image;

    @Schema(description = "点击量" )
    private Integer hits;

    @Schema(description = "评分等级" )
    private String grade;

    @Schema(description = "详情页URL" )
    private String bookDetailUrl;

    @Schema(description = "下载URL" )
    private String downloadUrl;

    // @Schema(description = "描述" )
    // private String desc;

    @Schema(description = "添加/发布时间" )
    private Date addTime;

    @Schema(description = "是否推荐(1:是 0:否)" )
    private Integer recomm;

    @Schema(description = "排序值" )
    private Integer order;
}